<?php

class RestController{
	
		/**
	 * Controller constructor - direct call to false when being embedded via another controller
	 * @param Registry $registry our registry
	 */
	public function __construct( Registry $registry){
		$this->registry = $registry;

		$urlBits = $this->registry->getObject('url')->getURLBits();
	}	
}

?>